package com.xj.demoExcel.easyexcel;

import com.alibaba.excel.annotation.ExcelProperty;

public class User {

    @ExcelProperty(index = 0,value = "编号")
    private String id;

    @ExcelProperty(index = 1,value = "名字")
    private String name;

    @ExcelProperty(index = 2,value = "性别")
    private String sex;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    @Override
    public String toString() {
        return "User{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", sex='" + sex + '\'' +
                '}';
    }
}
